package com.zlq.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyRabbitConfig {
    @Bean
    public Queue queue2(){
        return new Queue("hello");
    }
    @Bean
    public Queue queue(){
        return new Queue("user");
    }
    @Bean
    public Queue queue3(){
        return new Queue("man");
    }


    @Bean
    public Queue queue4(){
        return new Queue("manyy");
    }
}
